/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.dao;

import com.tesam.gedeon.entity.TrafficType;
import java.util.List;

/**
 *
 * @author Sistema
 */
public interface TrafficTypeDao {
    
    public int getCountAll();
    
    public int getCountBySearch(TrafficType trafficType);
    
    public List<TrafficType> getListAll();
    
    public List<TrafficType> getListByLimit(int startLimit, int endLimit, String dataToSort, String directionOfOrder);
    
    public List<TrafficType> getListBySearch(int startLimit, int endLimit, String dataToSort, String directionOfOrder,TrafficType trafficType);
    
    public void delete(TrafficType trafficType);
    
    public int save(TrafficType trafficType);
    
    public void update(TrafficType trafficType);
    
    public List<TrafficType> getTrafficById(TrafficType trafficType);
    
}
